#include "stdafx.h"
#include "CppUnitTest.h"

#include "MySolver/MySolver.h"

#include "SnakeAssert.h"

using namespace snake;

namespace MySolverTests
  {		
  TEST_CLASS(MySolverSuite)
    {
    public:

      /*TEST_METHOD(Should_When_)
        {
        // Arrange
        auto board =           
          "+--+"
          "|! |"
          "|> |"
          "+--+";
        EDirection expected = UP;

        // Act, Assert
        Assert::Solve(board, MySolver(), expected);
        }*/
			TEST_METHOD(NotHitCorner)
        {
				/*{// Arrange
        auto board =           
          "+---+"
					"|   |"
          "|  !|"
          "|<  |"
          "+---+";
        EDirection expected = UP;

				// Act, Assert
        Assert::Solve(board, MySolver(), expected);
				}
				{// Arrange
        auto board =           
          "+---+"
					"|   |"
          "|  !|"
					"|  >|"
          "+---+";
        EDirection expected = UP;

				// Act, Assert
        Assert::Solve(board, MySolver(), expected);
				}
				{// Arrange
        auto board =           
          "+---+"
					"|  >|"
          "| ! |"
					"|   |"
          "+---+";
				EDirection expected = DOWN;

				// Act, Assert
        Assert::Solve(board, MySolver(), expected);
				}*/
				{// Arrange
        auto board =           
          "+---+"
					"|^  |"
          "| ! |"
					"|   |"
          "+---+";
				EDirection expected = RIGHT;

				// Act, Assert
        Assert::Solve(board, MySolver(), expected);
				}
				
				}

    };
  }